/**
 * 上海中赢金融信息服务有限公司
 * Copyright (c) 2017-2027 Chinazyjr,Inc.All Rights Reserved.
 * 
 */

package com.sys.kafka.config;

/**
 * <b>ClassName:</b> BConfigVO.java <br/>
 * <b>Description:</b> 配置文件实体类 <br/>
 * <b>Date:</b> 2015年10月16日 下午3:55:42<br/>
 * 
 * @author mobing
 * @version
 */
public class KafkaConfig {
   
    //kafkaServer
    private String bootstrapServers;
    //producer参数配置
    private KafkaConfig4Producer config4producer;
    //consumer参数配置
    private KafkaConfig4Consumer config4consumer;
    
    
    
    /**
     * bootstrapServers
     *
     * @return  the bootstrapServers
     */
    
    public String getBootstrapServers() {
        return bootstrapServers;
    }



    /**
     * @param bootstrapServers the bootstrapServers to set
     */
    public void setBootstrapServers(String bootstrapServers) {
        this.bootstrapServers = bootstrapServers;
    }



    /**
     * config4producer
     *
     * @return  the config4producer
     */
    
    public KafkaConfig4Producer getConfig4producer() {
        return config4producer;
    }



    /**
     * @param config4producer the config4producer to set
     */
    public void setConfig4producer(KafkaConfig4Producer config4producer) {
        this.config4producer = config4producer;
    }



    /**
     * config4consumer
     *
     * @return  the config4consumer
     */
    
    public KafkaConfig4Consumer getConfig4consumer() {
        return config4consumer;
    }



    /**
     * @param config4consumer the config4consumer to set
     */
    public void setConfig4consumer(KafkaConfig4Consumer config4consumer) {
        this.config4consumer = config4consumer;
    }



    @Override
    public String toString() {
        return "KafkaConfig [bootstrapServers=" + bootstrapServers + ", config4producer=" + config4producer + ", config4consumer=" + config4consumer + "]";
    }

}
